<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">

<title>My JSP 'AddUser.jsp' starting page</title>

<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->


<script type="text/javascript">
function check(){

 var projectname=document.getElementById('projectname');


 if(!projectname.value){
 alert("请输入工作组名!");
 projectname.focus();
 return false;
 }
 if(projectname.value.length>15){
  alert("项目名长度超出15!");
 projectname.focus();
 return false;
 }
 }
</script>

<style>       
body,h2{    
padding:0px;    
margin:0px auto;    
}    
#wrapper{    
width:300px;    
height:300px;    
padding:0px;    
margin:0px auto; 
border:1px   #4682B4   solid;    
}    
h2{ 
  background-color: #4682B4 ;    
  color:#FFFFFF;    
  padding:10px 100px;  
  } 
   span{ 
   color:#FF0000;    
} 
   #shoulder{ 
      padding:10px;  
   line-height:50px;   
   background-color: #E6E6FA ;  
   
}    
#fore{ 
   text-align:left; 
    padding:10px;     }       
 #button{ 
   background-color:#FF0000;    
padding:0px;    
color:#FFFFFF;    }   
 #bt{ 
   padding-left:20px;  
  margin-top:30px;  } 
  comments {  
 width:100%;  
 overflow:auto;  
 word-break:break-all;
  }
</style>

</head>

<body>
	<br>

	
		<table align="center">
			<tr align="left">
				<td> 事务名称：<input type="text" id="issuename" name="issue.issueName" readonly="readonly" size="20"
					value=<s:property value="issue.issueName" /> ></td>
			</tr>
			
			<tr>
				<td>事务类型：<input type="text" id="issuename" name="issue.issueType" readonly="readonly" size="20"
					value=<s:property value="issue.issueType" /> >
				</td>
			</tr>
			
			<tr>
				<td>事务状态：<input type="text" id="issuename" name="issue.issueState" readonly="readonly" size="20"
					value=<s:property value="issue.issueState" /> >
				</td>
			</tr>
			
			<tr align=""left"">
				<td>事务描述：<input type="textarea" cols="200" rows="4"
					name="issue.issueCon"
					value=<s:property value="issue.issueCon" />></td>
			</tr>
			<tr>
				<td>所属项目：<input type="text" id="issuename" name="issue.projectName" readonly="readonly" size="20"
					value=<s:property value="issue.projectName" /> >
				</td>
			</tr>

			<tr align="center">
				<td><s:if test=" project.projectFilename==''">
							暂无文档
							</s:if>
							<s:else>
							<a href="IssueFile/<s:property value="issue.issueFile" />">
							下载文件</a>
							</s:else>
							
							</td>
			</tr>
		</table>
	</form>
</body>
</html>
